package com.xjscrm.common.entity;

import lombok.Data;

import java.math.BigDecimal;

/**
 * 交易表(Trade)表实体类
 *
 * @author szl
 * @since 2024-03-08 17:54:54
 */
@Data
public class Trade {
    //主键Id
    private Long id;
    //运营商id
    private Long merId;
    //交易金额
    private BigDecimal price;
    //状态, 1001:交易中, 1002:交易成功, 1003: 交易失败
    private Integer status;
    //描述
    private String remark;
    //类型, 1:购买, 2:续费
    private Integer type;
    //支付方式, 2001: 支付宝, 2002:微信
    private Integer payWay;
    //交易类型, 3001: 付款交易, 3002: 退款交易
    private Integer payType;
    //支付时间
    private Integer payTime;
    //交易号
    private String outsideCode;
    //外部响应
    private String outsideResp;
    //关联的交易号
    private Integer relOutsideCode;
    //版本
    private Integer version;
    //创建时间
    private Integer createTime;
    //创建人
    private Long createBy;
    //更新时间
    private Integer updateTime;
}

